[index]

Open File Command

Syntax

open file <filename>

Description

The open file command prepares a file to import or export text (or any data treated as text) using the read from file or write to file commands. The filename must include the name of the file, the disk where the file is located, and the path or directory where the file is located (unless the file is in the same directory as Oracle Media Objects). If you do not specify a path, the search is carried out only within the Oracle Media Objects directory.

Notes

If you specify a <filename> that doesn't exist, Oracle Media Objects will create a new file. You can open up to 10 files at once.

Examples

Type the following statements into the Message Box and press Enter after each: open file "test.txt" write "This is a test." to file "test.txt" close file "test.txt"
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.